package com.hwz.gulimall.search.feign;


import com.hwz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("gulimall-product")
public interface ProductFeginService {


    @RequestMapping("product/attr/infoList/{attrIds}")
    public R infoList(@PathVariable("attrIds") List<Long> attrIds);


    @RequestMapping("product/brand/infoList/{brandIds}")
    public R brandInfoList(@PathVariable("brandIds") List<Long> brandIds);
}
